package org.adobe.utils {

	public class NumberFormatter {
		
		/**给数字前追加0*/
		public static function addLeadingZero(n:Number):String {
			var out:String = String(n);
			if (n < 10 && n > -1){
				out = "0" + out;
			}
			return out;
		}
	}
}